All Questions
3 questions
1vote
1answer
6kviews
jstat not found even though we installed java JDK
We installed the following RPMs (part of the Java development kit), on Red Hat Enterprise Linux 7.5: $ rpm -qa | grep jdk java-1.8.0-openjdk-headless-1.8.0.171-8.b10.el7_5.x86_64 java-1.8.0-openjdk-1....
4votes
2answers
55kviews
How to verify if Java is installed on rhel
I stood up rhel VM. I was curious if JDK is installed or not so that I ran a command from a shell (bash). whereis java It returned: java: /usr/bin/java So I navigated to the path in order to verify ...
0votes
1answer
451views
When I execute a .run file as <user> it works fine. If I sudo run it, it cannot detect Java
I am trying to execute a .run file that will install some applications. I'm installing the application in /opt/... When I run it without sudo, the installer runs correctly but cannot write to /opt/. ...